Skip to content

Commit

Permalink
add cross-env NODE_OPTIONS=\"--max-old-space-size=4098\" to testapi s…
Browse files Browse the repository at this point in the history
…cript in package.json
  • Loading branch information
ericrosenthal committed Jan 11, 2023
1 parent da8f8c3 commit bf9c5a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:
CI: true
MONGO_URL: mongodb://localhost:27017/rocketchat?replicaSet=rs0&directConnection=true
MONGO_OPLOG_URL: mongodb://mongodb:27017/local?replicaSet=rs0&directConnection=true
TOOL_NODE_FLAGS: --max_old_space_size=16384 --optimize_for_size --gc-interval=100
TOOL_NODE_FLAGS: --max_old_space_size=8192 --optimize_for_size --gc-interval=100
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}

jobs:
Expand Down
2 changes: 1 addition & 1 deletion apps/meteor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"coverage": "nyc -r html mocha --config ./.mocharc.js",
"test:e2e": "playwright test",
"test:e2e:nyc": "nyc report --reporter=text-summary --reporter=lcov",
"testapi": "mocha --config ./.mocharc.api.js",
"testapi": "cross-env NODE_OPTIONS=\"--max-old-space-size=4098\" mocha --config ./.mocharc.api.js",
"testunit": "npm run .testunit:definition && npm run .testunit:client && npm run .testunit:server",
".testunit:server": "mocha --config ./.mocharc.js",
".testunit:client": "mocha --config ./.mocharc.client.js",
Expand Down

0 comments on commit bf9c5a2

Please sign in to comment.